package com.three.crm.bean;

import android.os.Parcel;
import android.os.Parcelable;

public class CompanyBean implements Parcelable {

    private int id;
    private String title;
    private String logo;
    private String phone;
    private String phone2;
    private String month_production;
    private String label;
    private String content;
    private int province_id;
    private int city_id;
    private int area_id;
    private String address;
    private String latitude;
    private String longitude;
    private int status;
    private int user_id;
    private String ctime;
    private String province;
    private String city;
    private String area;
    private String video_url;
    private String images;

    public CompanyBean() {
    }

    public CompanyBean(int id, String title, String logo, String phone, String phone2, String month_production, String label, String content, int province_id, int city_id, int area_id, String address, String latitude, String longitude, int status, int user_id, String ctime, String province, String city, String area, String video_url, String images) {
        this.id = id;
        this.title = title;
        this.logo = logo;
        this.phone = phone;
        this.phone2 = phone2;
        this.month_production = month_production;
        this.label = label;
        this.content = content;
        this.province_id = province_id;
        this.city_id = city_id;
        this.area_id = area_id;
        this.address = address;
        this.latitude = latitude;
        this.longitude = longitude;
        this.status = status;
        this.user_id = user_id;
        this.ctime = ctime;
        this.province = province;
        this.city = city;
        this.area = area;
        this.video_url = video_url;
        this.images = images;
    }

    protected CompanyBean(Parcel in) {
        id = in.readInt();
        title = in.readString();
        logo = in.readString();
        phone = in.readString();
        phone2 = in.readString();
        month_production = in.readString();
        label = in.readString();
        content = in.readString();
        province_id = in.readInt();
        city_id = in.readInt();
        area_id = in.readInt();
        address = in.readString();
        latitude = in.readString();
        longitude = in.readString();
        status = in.readInt();
        user_id = in.readInt();
        ctime = in.readString();
        province = in.readString();
        city = in.readString();
        area = in.readString();
        video_url = in.readString();
        images = in.readString();
    }

    public static final Creator<CompanyBean> CREATOR = new Creator<CompanyBean>() {
        @Override
        public CompanyBean createFromParcel(Parcel in) {
            return new CompanyBean(in);
        }

        @Override
        public CompanyBean[] newArray(int size) {
            return new CompanyBean[size];
        }
    };

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getLogo() {
        return logo;
    }

    public void setLogo(String logo) {
        this.logo = logo;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getPhone2() {
        return phone2;
    }

    public void setPhone2(String phone2) {
        this.phone2 = phone2;
    }

    public String getMonth_production() {
        return month_production;
    }

    public void setMonth_production(String month_production) {
        this.month_production = month_production;
    }

    public String getLabel() {
        return label;
    }

    public void setLabel(String label) {
        this.label = label;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public int getProvince_id() {
        return province_id;
    }

    public void setProvince_id(int province_id) {
        this.province_id = province_id;
    }

    public int getCity_id() {
        return city_id;
    }

    public void setCity_id(int city_id) {
        this.city_id = city_id;
    }

    public int getArea_id() {
        return area_id;
    }

    public void setArea_id(int area_id) {
        this.area_id = area_id;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getLatitude() {
        return latitude;
    }

    public void setLatitude(String latitude) {
        this.latitude = latitude;
    }

    public String getLongitude() {
        return longitude;
    }

    public void setLongitude(String longitude) {
        this.longitude = longitude;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public int getUser_id() {
        return user_id;
    }

    public void setUser_id(int user_id) {
        this.user_id = user_id;
    }

    public String getCtime() {
        return ctime;
    }

    public void setCtime(String ctime) {
        this.ctime = ctime;
    }

    public String getProvince() {
        return province;
    }

    public void setProvince(String province) {
        this.province = province;
    }

    public String getCity() {
        return city;
    }

    public void setCity(String city) {
        this.city = city;
    }

    public String getArea() {
        return area;
    }

    public void setArea(String area) {
        this.area = area;
    }

    public String getVideo_url() {
        return video_url;
    }

    public void setVideo_url(String video_url) {
        this.video_url = video_url;
    }

    public String getImages() {
        return images;
    }

    public void setImages(String images) {
        this.images = images;
    }

    @Override
    public int describeContents() {
        return 0;
    }

    @Override
    public void writeToParcel(Parcel dest, int flags) {
        dest.writeInt(id);
        dest.writeString(title);
        dest.writeString(logo);
        dest.writeString(phone);
        dest.writeString(phone2);
        dest.writeString(month_production);
        dest.writeString(label);
        dest.writeString(content);
        dest.writeInt(province_id);
        dest.writeInt(city_id);
        dest.writeInt(area_id);
        dest.writeString(address);
        dest.writeString(latitude);
        dest.writeString(longitude);
        dest.writeInt(status);
        dest.writeInt(user_id);
        dest.writeString(ctime);
        dest.writeString(province);
        dest.writeString(city);
        dest.writeString(area);
        dest.writeString(video_url);
        dest.writeString(images);
    }
}
